package cn.xiaoxiang.system.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import cn.xiaoxiang.basic.domain.BaseDomain;
import cn.xiaoxiang.org.domain.Department;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoxiang
 * @since 2022-11-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu extends BaseDomain{



    private String name;
    private String component;
    private String url;
    private String icon;
    private Integer index;
    private Long parentId;
    private String intro;
    private Integer state;



    // 无线级数
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Menu> children = new ArrayList<>();



}
